﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

class ExitSceneCommand : Controller
{
    public override void Execute(object data)
    {
        Debug.Log("ExitSceneCommand");
        //回收所有的对象池
        Game.Instance.ObjectPool.UnspawnAll();
    }
}